package com.dissertation.pojo;


import com.fasterxml.jackson.annotation.JsonIgnore;

public class IndexStatisticBean {

    @JsonIgnore
    private String categoryTreeName;

    private String categoryLeafName;

    private int count;

    private Double completeRate;

    public String getCategoryLeafName() {
        return categoryLeafName;
    }

    public void setCategoryLeafName( String categoryLeafName ) {
        this.categoryLeafName = categoryLeafName;
    }

    public int getCount() {
        return count;
    }

    public void setCount( int count ) {
        this.count = count;
    }

    public String getCategoryTreeName() {
        return categoryTreeName;
    }

    public void setCategoryTreeName( String categoryTreeName ) {
        this.categoryTreeName = categoryTreeName;
    }

    public Double getCompleteRate() {
        if ( completeRate  == null ) return 0d;
        return completeRate;
    }

    public void setCompleteRate( Double completeRate ) {
        this.completeRate = completeRate;
    }
}
